Qlose: Program Repair with Quantitative Objectives

نویسندگان

  • Loris D'Antoni
  • Roopsha Samanta
  • Rishabh Singh
چکیده

The goal of automatic program repair is to identify a set of syntactic changes that can turn a program that is incorrect with respect to a given specification into a correct one. Existing program repair techniques typically aim to find any program that meets the given specification. Such “best-effort” strategies can end up generating a program that is quite different from the original one. Novel techniques have been proposed to compute syntactically minimal program fixes, but the smallest syntactic fix to a program can still significantly alter the original program’s behaviour. We propose a new approach to program repair based on program distances, which can quantify changes not only to the program syntax but also to the program semantics. We call this the quantitative program repair problem where the “optimal” repair is derived using multiple distances. We implement a solution to the quantitative repair problem in a prototype tool called Qlose (Quantitatively close), using the program synthesizer Sketch. We evaluate the effectiveness of different distances in obtaining desirable repairs by evaluating Qlose on programs taken from educational tools such as CodeHunt and edX.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Program Repair via Direct State Manipulation

1 University of Wisconsin-Madison 2 Purdue University Microsoft Abstract. The goal of program repair is to automatically fix programs to meet a specification. We propose a new specification mechanism, direct manipulation, in which the programmer can visualize the trace of a buggy program on a failing input and convey the intended program behaviour by manipulating variable values at some locatio...

متن کامل

Use of Undifferentiated Cultured Bone Marrow-Derived Mesenchymal Stem Cells for DDF Tendon Injuries Repair in Rabbits: A Quantitative and Qualitative Histopathological Study

Objective- To investigate the effect of intratendinous injection of bMSCs on the rate and extent of tendon healing after primary repair in a rabbit model. Design- Experimental study. Animals- Twenty seven skeletally mature New Zealand white rabbits weighing 1.8- 2.5 kg were used. Twenty rabbits were used as the experimental animals, and seven others were used as a source of bone marrow-derived ...

متن کامل

The Use of Self-Repair Strategies in Classroom Conversations: Does the Teacher’s Level of Reflection Make a Difference?

To better understand the pattern of language use and classroom interactions, this sequential mixed-methods study investigated the teachers’ use of self-repair strategies based on their level of reflection. To this end, 33 Iranian EFL teachers were selected from various institutions in Tehran. Data for the quantitative phase were collected from the reflectivity questionnaire developed by Akbari,...

متن کامل

Early clinical exposure program in learning renal physiology

Introduction: Teaching renal physiology for undergraduatemedical students in an understandable way using methods whichimprove their deep learning has always been a problem. In thisstudy, Early Clinical Exposure (ECE) was used in teaching renalphysiology for the second year medical students in Shiraz MedicalSchool. This article aims to introduce and develop this programand also measure the attit...

متن کامل

Early Rehabilitation Protocol for Bullae Repair and Pleurectomy: A Case Report

Background: Postoperative physiotherapy is routinely prescribed for patients after thoracic surgeries. There are no established guidelines for exercise prescription after pleural resection surgeries. The present study aimed to determine the effect of an individualized postoperative physiotherapy program on a patient who underwent pleurectomy. Methods: A 19-year-old female patient was admitted ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016